package com.zooltech.samples.ws;

import javax.jws.WebService;


/**
 * <strong>Title : HelloWS </strong>. <br>
 * <strong>Description : .</strong> <br>
 * <strong>Create on : 2013-9-9 上午8:41:12 </strong>. <br>
 * 
 * @author yinxb yinxb@mochasoft.com.cn <br>
 * @version <strong>1.0</strong> <br>
 */
@WebService(targetNamespace="http://www.zooltech.com",serviceName="HelloWSService",endpointInterface="com.zooltech.samples.ws.HelloService")
public class HelloWS implements HelloService {
	private String message = "Hello, ";

	/* (non-Javadoc)
	 * @see com.zooltech.samples.ws.HelloService#sayHello(java.lang.String)
	 */
	@Override
	public String sayHello(String name) {
		return message + name + ".";
	}

	/* (non-Javadoc)
	 * @see com.zooltech.samples.ws.HelloService#plus(int, int)
	 */
	@Override
	public int plus(int a, int b) {
		return a + b;
	}
}
